import Vue from 'vue'
import VueRouter from 'vue-router'
import AaBb from '../views/AaBb.vue'
import DaTa from '../views/DaTa.vue'
import RenDer from '../views/RenDer.vue'
import NotFound from '../views/NotFound.vue'
Vue.use(VueRouter)
const router = new VueRouter({
  linkActiveClass: 'aa',
  linkExactActiveclass: 'bb',
  mode:'history',
  routes: [
    {
path: '/',
      redirect: AaBb
    },
  
    {
path:'/aabb',
      component: AaBb
    },
    {
      path:'/data',
      component: DaTa
    },
    {
      path:'/render',
      component: RenDer
    },
    {
path: '*',
      component: NotFound
    },
    // {
    //   path:'/data/:username/:password',
    //   component: DaTa
    // },
  ]
})
export default router

